﻿@model HRM.Models.Employee

@{
    ViewBag.Title = "Delete";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>Employee</legend>

    <div class="display-label">Name</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Name)
    </div>

    <div class="display-label">FathersName</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.FathersName)
    </div>

    <div class="display-label">MothersName</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.MothersName)
    </div>

    <div class="display-label">Address</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Address)
    </div>

    <div class="display-label">Sex</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Sex)
    </div>

    <div class="display-label">Blood</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Blood)
    </div>

    <div class="display-label">Email</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Email)
    </div>

    <div class="display-label">DOB</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.DOB)
    </div>

    <div class="display-label">JoiningDate</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.JoiningDate)
    </div>

    <div class="display-label">ContractFinishDate</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ContractFinishDate)
    </div>

    <div class="display-label">Education</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Education)
    </div>

    <div class="display-label">Resume</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Resume)
    </div>

    <div class="display-label">Skill</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Skill)
    </div>

    <div class="display-label">Nationality</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Nationality)
    </div>

    <div class="display-label">NID</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.NID)
    </div>

    <div class="display-label">Status</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Status)
    </div>

    <div class="display-label">Catagory</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Catagory.EmpCatagory)
    </div>

    <div class="display-label">Project</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Project.ProjectName)
    </div>

    <div class="display-label">Designation</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Designation.Title)
    </div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" class="submitButton" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}
